import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage'

/*渠道注册接口*/
const getChannelRegist = (params)=>postAction("/zx/sys/qsb/channelRegist",params);

/*企业端用户注册手机号校验匹配合同*/
const getCheckLoginPhone = (params)=>getAction("/zx/sys/info/checkLoginPhone",params);

/*短信验证码*/
const getSendSMSCode = (params)=>getAction("/cloud/third/sms/sendSMSCode",params);

/*校验法人手机号三要素*/
const getInfoCheckLoginPhone = (params)=>getAction("/qsb/channel/info/checkLoginPhone",params);


/*企业端渠道营业执照上传*/
const getCheckBusinessLicense = (params)=>postAction("/qsb/channel/info/checkBusinessLicense",params);

/*企业端渠道营业执照上传*/
const getWaitCheckAgreeInfo = (params)=>getAction("/qsb/channel/info/getWaitCheckAgreeInfo",params);

/*个人手机号三要素验证码获取*/
const getvCodeSender = (params)=>postAction("/cloud/third/ssq/vCodeSender",params);

/*企业端验证是否是渠道企业法人*/
const getCheckChannelLegal = (params)=>postAction("/qsb/channel/info/checkChannelLegal",params);

/*公户打款认证-公户打款*/
const getBusinessAccountPayAuth = (params)=>postAction("/qsb/channel/info/businessAccountPayAuth",params);

/*企业打款验证金额*/
const getBusinessAccountVerify = (params)=>postAction("/qsb/channel/info/businessAccountVerify",params);

/*获取当前登陆人渠道注册信息*/
const getLoginChannel4Reg = (params)=>getAction("/qsb/channel/info/getLoginChannel4Reg",params);

/*确认渠道账户信息*/
const getConfirmedChannelAccount = (params)=>getAction("/qsb/channel/info/confirmedChannelAccount",params);

/*验证数据是否存在*/
const getCheckExists = (params)=>postAction("/zx/sys/checkExists",params);

/*验证数据是否存在*/
const getSendSmsCode = (params)=>getAction("/zx/sys/sendSmsCode",params);

/*验证数据是否存在*/
const getAddClue = (params)=>postAction("/zx/sys/addClue",params);

/*检测短信验证码*/
const getCheckSmsCode = (params)=>getAction("/zx/sys/checkSmsCode",params);

export {
  getChannelRegist,
  getSendSMSCode,
  getCheckLoginPhone,
  getInfoCheckLoginPhone,
  getCheckBusinessLicense,
  getWaitCheckAgreeInfo,
  getvCodeSender,
  getCheckChannelLegal,
  getBusinessAccountPayAuth,
  getBusinessAccountVerify,
  getLoginChannel4Reg,
  getCheckExists,
  getSendSmsCode,
  getAddClue,
  getCheckSmsCode,
  getConfirmedChannelAccount
}
